package com.ffggffgfv.backend.dto;

/**
 * 权限数据传输对象
 */
public class PermissionDTO {

    private String name;      // 权限名称
    private String code;      // 权限编码
    private Integer type;     // 权限类型（1-菜单 2-按钮）
    private Long parentId;    // 父级ID
    private String path;      // 路径

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
